import carIcon from '@/assets/img/drag/drag_car.png'
import categoryIcon from '@/assets/img/drag/drag_category.png'
import userIcon from '@/assets/img/drag/drag_user.png'
import addToDesktopIcon from '@/assets/img/drag/add_to_desktop.png'

export const memberComponentListData: any[] = [
  {
    type: 'member',
    title: '会员中心组件',
    collapsed: true,
    icon: '&#xe723;',
    sub_list: [
      {
        id: 1,
        category_type: 'member',
        type: 'member_info',
        title: '会员信息',
        max_list_count: 12,
        icon_img: userIcon,
        default_sub_list: [],
        bgType: 2,
        style: {
          paddingTop: '',
          paddingBottom: '',
          paddingLeft: '',
          paddingRight: '',
          borderRadius: '0px',
          backgroundColor: '#fff',
          backgroundImage: ''
        },
        itemStyle: {}
      },
      {
        id: 2,
        category_type: 'member',
        type: 'car_info',
        title: '小车题库',
        icon_img: carIcon,
        show_more: true,
        more_text: '切换',
        title_layout: 'left',
        style: {
          paddingTop: '6px',
          paddingBottom: '6px',
          paddingLeft: '6px',
          paddingRight: '6px',
          borderRadius: '12px',
          backgroundColor: '#fff'
        },
        itemStyle: {
          color: '#000',
          fontSize: 18,
          fontWeight: 600,
          textAlign: 'left',
          more_color: '#03c36b'
        }
      },
      {
        id: 3,
        category_type: 'member',
        type: 'category_info',
        title: '科目信息',
        icon_img: categoryIcon,
        tabs: [
          {
            name: '科一',
            value: 1
          },
          {
            name: '科四',
            value: 4
          }
        ],
        linkImage: 'https://image.lutongjiakao.com/system/0050b5bc60aa4205ae359b8ba8327e6a.png',
        tabStyle: {},
        style: {
          paddingTop: '6px',
          paddingBottom: '6px',
          paddingLeft: '6px',
          paddingRight: '6px',
          borderRadius: '12px',
          backgroundColor: '#fff'
        },
        itemStyle: {}
      },
      {
        id: 4,
        category_type: 'member',
        type: 'add_desktop',
        title: '添加至桌面',
        icon_img: addToDesktopIcon,
        linkImage: 'https://image.lutongjiakao.com/system/0050b5bc60aa4205ae359b8ba8327e6a.png',
        content: '添加到手机桌面方便下次访问',
        tabStyle: {},
        style: {
          paddingTop: '6px',
          paddingBottom: '6px',
          paddingLeft: '6px',
          paddingRight: '6px',
          borderRadius: '6px',
          backgroundColor: '#161e21'
        },
        itemStyle: {
          fontSize: 14,
          color: '#fff',
          fontWeight: 'normal',
          btnStyle: {
            backgroundColor: '#1d84ff',
            color: '#fff'
          }
        }
      }
    ]
  }
]
